-- GENERATED SPELL FOR [Horde Headhunter] --


function spell0_17934(pUnit, Event) --@Spear Throw,n/a--
pUnit:FullCastSpellOnTarget(31758,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17934', 634, 1)
end

function Sorts_17934(pUnit, Event)
local choix_sorts_17934 = math.random(0, 0)
if choix_sorts_17934 == 0 then
pUnit:RegisterEvent('spell0_17934', 1, 1)
end
end

function mob17934_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17934', math.random(1500, 3000), 1)
end

function mob17934_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17934_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17934_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17934, 1, 'mob17934_Action')
RegisterUnitEvent(17934, 2, 'mob17934_Leave')
RegisterUnitEvent(17934, 3, 'mob17934_Kill')
RegisterUnitEvent(17934, 4, 'mob17934_Die')
